package com.zm.scsimple.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author zoum
 * @create 2019/2/27 17:38
 */
@EnableZuulProxy
@SpringBootApplication
public class ZuulProxyApp {

    public static void main(String[] args){
        new SpringApplicationBuilder(ZuulProxyApp.class).web(WebApplicationType.SERVLET).run(args);
    }
}
